package com.jbookstore.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import com.jbookstore.dto.CategoryDto;
import com.jbookstore.service.CategoryService;

@Controller
public class CategoryController extends CommonController {

	@Autowired
	private CategoryService categoryService;

	public List<CategoryDto> getCategroyList() {
		return categoryService.getCategroyList();
	}
}
